home *** CD-ROM | disk | FTP | other *** search
/ SVM Mac 58 / CD-ROM N°58.iso / navigateurs / Netscape Folder / chrome / wallet / content / default / CookieViewer.xul < prev    next >
Encoding:
Extensible Markup Language  |  2000-04-19  |  6.1 KB  |  140 lines  |  [TEXT/MOSS]

  1. <?xml version="1.0"?>
  2. <!-- 
  3.   The contents of this file are subject to the Netscape Public
  4.   License Version 1.1 (the "License"); you may not use this file
  5.   except in compliance with the License. You may obtain a copy of
  6.   the License at http://www.mozilla.org/NPL/
  7.   
  8.   Software distributed under the License is distributed on an "AS
  9.   IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.   implied. See the License for the specific language governing
  11.   rights and limitations under the License.
  12.   
  13.   The Original Code is Mozilla Communicator client code, released
  14.   March 31, 1998.
  15.   
  16.   The Initial Developer of the Original Code is Netscape
  17.   Communications Corporation. Portions created by Netscape are
  18.   Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19.   Rights Reserved.
  20.   
  21.   Contributor(s):
  22.     Ben Goodger
  23. -->
  24.  
  25. <!-- CHANGE THIS WHEN MOVING FILES -->
  26. <?xml-stylesheet href="chrome://wallet/skin/" type="text/css"?> 
  27. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  28.  
  29. <!-- CHANGE THIS WHEN MOVING FILES -->
  30. <!DOCTYPE window SYSTEM "chrome://wallet/locale/CookieViewer.dtd" >
  31.  
  32. <window id="cookieviewer"
  33.         class="dialog"
  34.         title="&windowtitle.label;"
  35.         xmlns:html="http://www.w3.org/TR/REC-html40"
  36.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  37.         align="vertical"
  38.         onload="Startup()">
  39.  
  40.   <html:script src="chrome://wallet/content/CookieViewer.js"/>
  41.     <html:script language="javascript" src="chrome://global/content/strres.js" />
  42.  
  43.   <tabcontrol flex="100%" align="vertical">
  44.     <tabbox>
  45.       <tab selected="true">&tab.cookiesonsystem.label;</tab>
  46.       <tab>&tab.bannedservers.label;</tab>
  47.       <spring flex="1"/>
  48.     </tabbox>
  49.     <tabpanel align="horizontal" style="width: 400px;">
  50.       <box class="tabpanel" id="system" flex="100%" align="vertical">
  51.         <box><html:div>&div.cookiesonsystem.label;</html:div></box>
  52.         <spring style="height: 10px;"/>
  53.           <tree id="cookietree" class="inset" style="height: 150px; width: 380px;" align="vertical" 
  54.             onselect="ViewCookieSelected(event);"
  55.             onclick="ViewCookieSelected(event)"
  56.             onkeypress="HandleKeyPress(event)">
  57.             <treecol width="30%"/>
  58.             <treecol width="70%"/>
  59.             <treehead>
  60.               <treerow>
  61.                 <treecell value="&treehead.cookiedomain.label;"/>
  62.                 <treecell value="&treehead.cookiename.label;"/>
  63.               </treerow>          
  64.             </treehead>
  65.             <treechildren id="cookielist"/>
  66.           </tree>
  67.         <spring style="height: 5px;"/>
  68.         <html:fieldset style="border: 2px groove #CCCCDD;">
  69.           <html:legend>&treehead.infoselected.label;</html:legend>
  70.             <!-- labels -->
  71.             <html:div flex="100%">
  72.               <html:table width="100%" cellpadding="0" cellspacing="0" border="0">
  73.                 <html:tr>
  74.                   <html:td width="55%">&props.name.label;</html:td>
  75.                   <html:td><html:input id="ifl_name" readonly="true" type="text" flex="100%" class="scroll-label"/></html:td>
  76.                 </html:tr>
  77.                 <html:tr>
  78.                   <html:td>&props.value.label;</html:td>
  79.                   <html:td><html:input id="ifl_value" readonly="true" type="text" flex="100%" class="scroll-label"/></html:td>
  80.                 </html:tr>
  81.                 <html:tr>
  82.                   <html:td id="ifl_domaintype">&props.domain.label;</html:td>
  83.                   <html:td><html:input id="ifl_domain" readonly="true" type="text" flex="100%" class="scroll-label"/></html:td>
  84.                 </html:tr>
  85.                 <html:tr>
  86.                   <html:td>&props.path.label;</html:td>
  87.                   <html:td><html:input id="ifl_path" readonly="true" type="text" flex="100%" class="scroll-label"/></html:td>
  88.                 </html:tr>
  89.                 <html:tr>
  90.                   <html:td>&props.secure.label;</html:td>
  91.                   <html:td><html:input id="ifl_secure" readonly="true" type="text" flex="100%" class="scroll-label"/></html:td>
  92.                 </html:tr>
  93.                 <html:tr>
  94.                   <html:td>&props.expires.label;</html:td>
  95.                   <html:td><html:input id="ifl_expires" readonly="true" type="text" flex="100%" class="scroll-label"/></html:td>
  96.                 </html:tr>
  97.               </html:table>
  98.             </html:div>
  99.         </html:fieldset>
  100.         <spring flex="5%"/>
  101.         <box align="horizontal">
  102.           <titledbutton id="removeCookies" class="dialog push" disabled="true" value="&button.removecookie.label;" onclick="DeleteCookieSelected();"/>
  103.           <!--  todo: <titledbutton id="restoreCookies" class="dialog push" disabled="true" value="&button.restorecookie.label;" onclick="RestoreCookies();"/> -->
  104.         </box>
  105.       </box>
  106.       
  107.       <box class="tabpanel" id="servers" flex="100%" align="vertical">
  108.         <html:div>&div.bannedservers.label;</html:div>
  109.         <spring flex="5%"/>
  110.           <tree id="permissionstree" class="inset" style="height: 280px; width: 380px;" align="vertical"
  111.                 onkeypress="if(event.which == 46) gone_p += DeleteItemSelected('permissionstree', 'permtree_', 'permissionslist');"
  112.                 onclick="ViewPermissionSelected();">
  113.             <treehead>
  114.               <treerow>
  115.                 <treecell value="&treehead.sitename.label;"/>
  116.                 <treecell value="&treehead.status.label;"/>
  117.               </treerow>          
  118.             </treehead>
  119.             <treechildren id="permissionslist"/>
  120.           </tree>
  121.         <spring style="height: 5px;"/>
  122.         <box align="horizontal">
  123.           <titledbutton id="removePermissions" class="dialog push" disabled="true" 
  124.                         value="&removepermission.label;" 
  125.                         onclick="DeletePermissionSelected();"/>
  126.         </box>
  127.         <spring style="height: 5px;"/>
  128.       </box>
  129.     </tabpanel>
  130.   </tabcontrol>
  131.   
  132.   <!-- from dialogOverlay.xul -->
  133.   <box align="horizontal">
  134.     <spring flex="100%"/>
  135.     <box id="okCancelButtons"/>
  136.   </box>
  137.  
  138. </window>
  139.  
  140.